#include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;

int main()
{
   int n, k, x, y;
   srand(time(0));
   cin>>n;
   if (n<0) cout<<"necorrecto";
k=0;
for (int i=0;i<n;i++)
{
    x=rand()%201-100;
    y=rand()%201-100;
   if ((x<=5)&&(x>=-7)&&(y<=5)&&(y>=-8))
    k=k+=1;
}
cout<<"kol-yo shot"<<n<<endl;
cout<<"kol-yo popadaniy"<<k;

    return 0;
}
